package BC73_挂科危险;

import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int scores = sc.nextInt();
        if (scores >= 10){
            System.out.println("Danger++");
        }else if (scores >= 4){
            System.out.println("Danger");
        }else {
            System.out.println("Good");
        }
    }
}
